package com.haogu.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
public class Car implements Serializable {
    private static final long serialVersionUID = -1380247526953840476L;
    private Integer id;
    private String code;
    private String brand;
    private String type;
    private String color;
    private String pic;
    private String remark;
    private Integer residentId;
    private Integer communityId;
    @JsonFormat(shape = JsonFormat.Shape.NUMBER)
    private Timestamp createTime;
    @JsonFormat(shape = JsonFormat.Shape.NUMBER)
    private Timestamp updateTime;

}
